package cn.picclife.mwx.manager.sys.mapper;

import java.util.List;

import cn.picclife.mwx.common.core.dao.MyBatisRepositoryAnnotation;
import cn.picclife.mwx.manager.sys.model.bo.ApprovalInfo;
import cn.picclife.mwx.manager.sys.model.bo.PageCount;

@MyBatisRepositoryAnnotation
public interface ApprovalMapper {

    public void insertApprovalInfo(ApprovalInfo req);

    public ApprovalInfo selectApprovalInfo(ApprovalInfo approvalInfo);

    List<ApprovalInfo> selectByReqDetail(PageCount pageCount);
    
    int selectCountByReqDetail(ApprovalInfo approvalInfo);

    List<ApprovalInfo> selectBycollectId(ApprovalInfo approvalInfo);

    ApprovalInfo selectByOptName(ApprovalInfo approvalInfo);

    void updateApprovalInfo(ApprovalInfo approvalInfo);

    void updateApplyInfo(ApprovalInfo approvalInfo);
}
